home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / apps / 21 / emacs / memacs.doc < prev    next >
Encoding:
Text File  |  1986-05-14  |  5.9 KB  |  182 lines

  1.  
  2. microEmacs documentation
  3. ========================
  4.  
  5. (Current version is dated 03/04/86.)
  6.  
  7. This file describes microEmacs as it currently is in the version
  8. ported here at Case Western Reserve University.  The object file
  9. of the 03/04/86 version is 306xx bytes long.
  10.  
  11.  
  12. Differences
  13. -----------
  14. Here are some known differences between our version and the one that
  15. you get with the Developers Kit:
  16.  
  17. 1. Our version reads and writes files in chunks of 16k, and so it is much
  18.    faster than the original.
  19.  
  20.  
  21.  
  22. 2. ^Xk (or function key F5) will kill current buffer as a default.
  23.  
  24. 3. ^Xb (or F7) will switch to the next buffer as the default.
  25.  
  26. 4. When in search mode (ie. when you have hit ^S or ^R once)
  27.    ^S and ^R act as if CR is typed, but may reverse the search.
  28.  
  29. 5. Word-wrap has been deleted, as it was quite buggy.
  30.  
  31. 6. All special keys on the ST have been assigned useful functions; see
  32.    below.
  33.  
  34. 7. Quick-exit (UNDO key) will do a 'list-buffers' if there are changed but
  35.    unsaved buffers, and await your y/n reply.
  36.  
  37.  
  38. Key Bindings
  39. ------------
  40.  
  41. These are the key bindings, as they are in the ue.tos version of 01/18/86, or
  42. later.
  43.  
  44.    To change these bindings, recompile 'keybind.c', and link everything.
  45.    Two related files are (1) 'keynames.h' which #defines the F1 et al;
  46.    (2) 'keymap.c' which maps the scan codes to ascii values using the
  47.    intelligent key board of the ST.
  48.  
  49.  
  50. The standard control-, meta-key bindings, as they were in the original
  51. MicroEmacs, are also valid.
  52.  
  53. Original Bindings
  54.  
  55. C-@        set mark
  56. C-A        move to start of line
  57. C-B        move backward character
  58. C-C        run CLI in a subjob
  59. C-D        delete forward character
  60. C-E        move to end of line
  61. C-F        move forward character
  62. C-G        abort command
  63. C-H        delete backward character
  64. C-I        insert tab
  65. C-J        insert CR-LF, then indent
  66. C-K        kill forward
  67. C-L        refresh the screen
  68. C-M        insert CR-LF
  69. C-N        move forward line
  70. C-O        open up a blank line
  71. C-P        move backward line
  72. C-Q        insert literal character
  73. C-R        search backwards
  74. C-S        search forward
  75.  
  76. C-T        swap characters around point
  77. C-U        universal argument
  78. C-V        move forward page
  79. C-W        kill region
  80. C-X        control-X prefix - see below
  81. C-Y        yank back from killbuffer
  82. C-Z        quick save and exit
  83. esc        meta prefix - see below
  84. del        delete backward character
  85.  
  86.  
  87.  
  88. M-C-H        delete backward word
  89. M-!        reposition window
  90. M-.        set mark
  91. M-<        move to start of buffer
  92. M->        move to end of buffer
  93. M-B        move backward word
  94. M-C        initial capitalize word
  95. M-D        delete forward word
  96. M-F        move forward word
  97. M-L        lower case word
  98.  
  99. M-U        upper case word
  100. M-V        move backward page
  101. M-W        copy region to kill buffer
  102. M-del        delete backward word
  103.  
  104. C-X C-B        display list of buffers
  105. C-X C-C        quit without saving
  106. C-X C-F        adjust file name
  107. C-X C-L        lower case region
  108. C-X C-N        move window down
  109.  
  110. C-X C-O        delete blank lines
  111. C-X C-P        move window up
  112. C-X C-R        get a file, read only
  113. C-X C-S        save current file
  114. C-X C-U        upper case region
  115. C-X C-V        get a file, read write
  116. C-X C-W        write a file
  117. C-X C-X        swap point and mark
  118. C-X C-Z        shrink window
  119.  
  120.  
  121.  
  122. C-X !        run a command in a subjob
  123. C-X (        begin macro
  124. C-X )        end macro
  125. C-X 1        make current window only one
  126. C-X 2        split current window
  127. C-X =        show the cursor position
  128. C-X B        switch a window to a buffer
  129. C-X E        execute macro
  130. C-X F        set fill column
  131.  
  132. C-X K        make a buffer go away
  133. C-X N        move to the next window
  134. C-X P        move to the previous window
  135. C-X Z        enlarge display window
  136.  
  137.  
  138. Key Bindings on 520ST 
  139.  
  140.     The Function Keys alter the buffer and/or file content; so be
  141. cautious.  All the other special keys (the HELP-UNDO group, and the
  142. numeric keypad group) only change the display, and/or windows; so you
  143. can be playful with these.  The commands 'kill', 'yank' and 'read-file'
  144. don't work as they do in full Emacs; so watch out.
  145.  
  146. F1,    delbword,    /* delete preceding word            */
  147. F2,    delfword,    /* delete the next/current word            */
  148. F3,    kill,        /* kill current line to its end            */
  149. F4,    yank,        /* insert the deleted stuff back        */
  150. F5,    killbuffer,    /* kill [current] buffer; verifies if changed    */
  151. F6,     listbuffers,    /* list buffers, and their sizes; not accurate    */
  152. F7,    usebuffer,    /* switch to another existing/new buffer    */
  153. F8,    filewrite,    /* save current buffer to specified file    */
  154. F9,    filevisit,    /* read-in a file to edit            */
  155. F10     filesave,    /* save current buffer to its file        */
  156.  
  157. HELP,    help,        /* alas, not much help yet!            */
  158. UNDO,   quickexit,    /* quick save and exit                */
  159. INSERT,    backpage,    /* display page preceding current one        */
  160. HOME,    forwpage,    /* display page following current one        */
  161. UPARRO, backline,    /* move cursor to preceding line; readjust displ*/
  162. DNARRO,    forwline,    /* move cursor to next line; readjust display    */
  163. LTARRO,    backchar,    /* move cursor to preceding char        */
  164. RTARRO,    forwchar,    /* move cursor to following char        */
  165.  
  166.  
  167. keypad keys
  168.  
  169. -----------
  170. KLP,    mvdnwind,    /* scroll window contents up (move window down)    */
  171. KRP,    mvupwind,    /* scroll window contents dn (move window up)    */
  172. KSLASH,    splitwind,    /* split current window into two        */
  173. KSTAR,    onlywind,    /* make the current window the only one        */
  174. KMINUS,    prevwind,    /* move cursor to preceding window, if any    */
  175. KPLUS,    nextwind,    /* move cursor to following window, if any    */
  176. KENTER,    ctlxe,        /* re-execute the key-board macro        */
  177. KDOT,    swapmark,    /* swap mark with dot; (shift-F1 sets mark)    */
  178. K0,    showcpos,    /* show cursor position numerically        */
  179.  
  180.  
  181. K7,    gotobob,    /* move cursor to beginning of buffer        */
  182. K8,    reposition,    /* reposition so that current line is at the top*/
  183. K9,    gotoeob,    /* move cursor to end of buffer            */
  184. K4,    backword,    /* move cursor to beginning of word        */
  185. K5,    backline,    /* move to prev line; same as up arrow        */
  186. K6,    forwword,    /* move cursor to end of word            */
  187. K1,    gotobol,    /* move cursor to beginning of current line    */
  188. K2,    forwline,    /* move to next line; same as dn arrow        */
  189. K3,    gotoeol,    /* move cursor to end of current line        */
  190.  
  191.  
  192. /* -eof- */
  193. ə